<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>赵日天的留言板</title>
  <link rel="stylesheet" href="./css/index.css" />
</head>

<body>
  <div class="container">
    <div class="titles">
      <h3>赵日天的留言板</h3>
      <span class="weather">北京 雷阵雨转小雨</span>
    </div>

    <div class="form-group">
      <input type="text" id="user" class="form-control" placeholder="请输入昵称" />
    </div>
    <div class="form-group">
      <textarea id="content" class="form-control" cols="30" rows="8" placeholder="请输入留言信息..."></textarea>
    </div>
    <div class="form-group">
      <button class="btn btn-default">提交</button>
    </div>

    <div class="messages">
      <div class="title">最新留言(5)</div>
      <div class="list"></div>
    </div>
  </div>

  <script src="./js/jquery/jquery-3.6.0.js"></script>
  <script src="./js/dayjs/dayjs.min.js"></script>
  <script src="./js/dayjs/locale/zh-cn.min.js"></script>
  <script src="./js/dayjs/plugin/relativeTime.min.js"></script>
  <script>
    dayjs.locale("zh-cn"); // 全局使用
    dayjs.extend(window.dayjs_plugin_relativeTime);
  </script>
  <script src="./js/index.js"></script>
</body>

</html>